package com.ruoyi.basebill.service;

import java.util.List;
import com.ruoyi.basebill.domain.OmsSaleorderbill;

/**
 * OMS销售订单Service接口
 * 
 * @author ruoyi
 * @date 2023-02-08
 */
public interface IOmsSaleorderbillService 
{
    /**
     * 查询OMS销售订单
     * 
     * @param id OMS销售订单主键
     * @return OMS销售订单
     */
    public OmsSaleorderbill selectOmsSaleorderbillById(Long id);

    /**
     * 查询OMS销售订单列表
     * 
     * @param omsSaleorderbill OMS销售订单
     * @return OMS销售订单集合
     */
    public List<OmsSaleorderbill> selectOmsSaleorderbillList(OmsSaleorderbill omsSaleorderbill);


    public List<OmsSaleorderbill> selectOmsSaleorderbillDetailList(OmsSaleorderbill omsSaleorderbill);

    /**
     * 新增OMS销售订单
     * 
     * @param omsSaleorderbill OMS销售订单
     * @return 结果
     */
    public int insertOmsSaleorderbill(OmsSaleorderbill omsSaleorderbill);

    /**
     * 修改OMS销售订单
     * 
     * @param omsSaleorderbill OMS销售订单
     * @return 结果
     */
    public int updateOmsSaleorderbill(OmsSaleorderbill omsSaleorderbill);

    /**
     * 批量删除OMS销售订单
     * 
     * @param ids 需要删除的OMS销售订单主键集合
     * @return 结果
     */
    public int deleteOmsSaleorderbillByIds(Long[] ids);

    /**
     * 删除OMS销售订单信息
     * 
     * @param id OMS销售订单主键
     * @return 结果
     */
    public int deleteOmsSaleorderbillById(Long id);
}
